// Net.h

#pragma once
#include "StateTransition.h"
#include "string"
#include "tinyxml.h"
#include <set>

using namespace std;

class TrainNet
{
public:
	list<State*>			States;
	list<StateTransition*>	StateTransitions;
	set<Station*,StationPointerComparator>			Stations;
	set<Line*,LinePointerComparator>				Lines;

	TrainNet(string XMLFileURL);
	~TrainNet();

	bool		DoesStationExist(string StationName);
	Station*	FindStationByName(string StationName);
	State*		FindAnyStateForStation(Station* Station);
};